package com.doit.day02;

import com.doit.day01.JedisUtil;
import redis.clients.jedis.Jedis;

public class _02_发布和订阅 {
    public static void main(String[] args) {

        Jedis jedis = JedisUtil.getJedis();
        jedis.publish("a","this message from idea");

    }
}
